/*
 * Copyright (c) 2014 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

:host { display: block; }

h2 {
    font-size: 1em;
    margin: 0 16px;
    padding: 0;
    -webkit-user-select: none;
    cursor: default;
}

header {
    padding-top: 0.5em;
    display: -webkit-flex;
    display: flex;
}

header h2 {
    flex: 1;
    -webkit-flex: 1;
}

header .ui-actions {
    padding: 0 16px;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
}

.ui-actions label {
    display: inline-flex;
    display: -webkit-inline-flex;
    align-items: baseline;
    -webkit-align-items: baseline;
}

.ui-actions input {
    margin-right: 4px;
}

.files {
    overflow-x: auto;
}

.view-depends-on-patchset {
    margin: 0 5px 0.5em 16px;
}

#depends-on-patchset h2 {
    margin: 0.5em 16px 0.5em 16px;
}

.view-dependent-patchsets {
    margin: 0 5px 0.5em 16px;
}

#dependent-patchsets h2 {
    margin: 0.5em 16px 0.5em 16px;
}

.linethrough {
    text-decoration: line-through;
}

.spinner {
    vertical-align: middle;
    margin: 0 8px 0 8px;
}

@media (max-width: 600px) {
    header h2 {
        display: none;
    }

    header .ui-actions {
        padding: 0 8px;
    }
}
